<?php

use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;

class CreateGongrKaoqsTable extends Migration {

	/**
	 * Run the migrations.
	 *
	 * @return void
	 */
	public function up()
	{
		Schema::create('gongr_kaoqs', function(Blueprint $table)
		{
			$table->increments('id');
			$table->integer('gr_id');
			$table->string('gr_name');
			$table->string('type')->nullable();
			$table->date('date');
			$table->string('gb_name')->nullable();
			$table->string('other')->nullable();
			$table->string('time')->nullable();
			$table->string('start', 50)->nullable();
			$table->dateTime('end')->nullable();
			$table->integer('finish')->nullable();
			$table->string('funit')->nullable();
			$table->integer('zhenp')->nullable();
			$table->string('zunit')->nullable();
			$table->integer('baof')->nullable();
			$table->string('bunit')->nullable();
			$table->integer('grnum')->nullable();
			$table->float('avg')->nullable();
			$table->string('tuic')->nullable();
			$table->string('cong')->nullable();
			$table->string('gx_name')->nullable();
			$table->timestamps();
		});
	}


	/**
	 * Reverse the migrations.
	 *
	 * @return void
	 */
	public function down()
	{
		Schema::drop('gongr_kaoqs');
	}

}
